package com.naiterui.ehp.bs.patient.service;

import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.patient.vo.comment.ComplaintParamVO;

/**
 * @Description 会话投诉
 * @Author gongbaoqiang
 * @Date 2020/7/1 5:24 PM
 */
public interface IConsultComplaintService {

    /**
     * 提交投诉
     * @param patientId
     * @param paramVO
     * @throws BusinessException
     */
    void submit(Long patientId, ComplaintParamVO paramVO) throws BusinessException;

    /**
     * 判断会话是否已做过评价
     * @param consultSessionId
     * @param type
     * @return
     * @throws BusinessException
     */
    Boolean existByConsultSession(Long consultSessionId, Integer type) throws BusinessException;
}
